/*
 * @Description  : 用户表单组件数据
 * @Author       : Keyman
 * @Date         : 2025-11-28 13:42:36
 * @LastEditors  : Keyman
 * @LastEditTime : 2025-11-28 14:13:21
 */

import { createSlice } from "@reduxjs/toolkit";

export const userSlice = createSlice({
  name: "user",
  initialState: {
    userData: {},
  },
  reducers: {
    SetUserData(state, action) {
      state.userData = action.payload;
    },
  },
});

export const { SetUserData } = userSlice.actions;

export default userSlice.reducer;
